$(document).ready(function(){

	
	 $('#seeds, #silica, #moisture').bind('keypress', function (e) {
        return (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57) && e.which != 46) ? false : true;
    }); 
/*	$(document).keypress(function(e) {
    if(e.which == 13) {
        alert('You pressed enter!');
		alert(damageSeeds);
	//	$('#barcode').val("1243546579");
    }
});*/
$('#btnsub').bind('click',function(){
	var damageSeeds = $('#seeds').val();
	var silica = $('#silica').val();
	var moisture = $('#moisture').val();
	alert(damageSeeds);
});
	
});